package vip.liux.front.application.service.payment;

import lombok.Getter;
import lombok.Setter;
import vip.liux.core.objectExtending.ExtraProperty;
import vip.liux.core.objectExtending.IHasExtraProperties;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
public class PaymentRequestProductDto implements IHasExtraProperties, Serializable {
    private String paymentRequestId;

    private String code;

    private String name;

    private BigDecimal unitPrice;

    private int count;

    private BigDecimal totalPrice;

    private ExtraProperty extraProperties;

    public PaymentRequestProductDto() {
        this.extraProperties = new ExtraProperty();
    }

    protected void setExtraProperties(ExtraProperty extraProperties) {
        this.extraProperties = extraProperties;
    }
}
